# $Id: PKGBUILD 86799 2013-03-22 11:01:06Z svenstaro $
# Maintainer: Sven-Hendrik Haase <sh@lutzhaase.com>
# Contributor: Daniel J Griffiths <ghost1227@archlinux.us>
# Contributor: Aaron Griffin <aaron@archlinux.org>

pkgname=vim-minibufexpl
pkgver=6.4.4
pkgrel=1
pkgdesc="An elegant buffer explorer for vim"
arch=('any')
url="http://fholgado.com/minibufexpl"
license=('custom')
depends=('vim')
groups=('vim-plugins')
source=(${pkgname}-${pkgver}::"https://github.com/fholgado/minibufexpl.vim/tarball/${pkgver}"
        'LICENSE')
md5sums=('39e75c5c1be1050feb790664210f09bc'
         'aa6bc9c176702f23ee9f8476f72e3971')

package() {
  cd ${srcdir}/fholgado-minibufexpl.vim-*
  installpath="${pkgdir}/usr/share/vim/vimfiles"

  install -D -m644 plugin/minibufexpl.vim $installpath/plugin/minibufexpl.vim
  install -D -m644 ${srcdir}/LICENSE ${pkgdir}/usr/share/licenses/${pkgname}/LICENSE
}
